import { post, get } from '@/utils/axios'

const prefixUrl = '/sys/dictType/'

/** 获取字典类型 */
export const typeList = () => {
  return get(`${prefixUrl}typeList`)
}

/** 保存字典类型 */
export const saveDictType = (form) => {
  return post(`${prefixUrl}saveDictType`, form)
}
